﻿using System;
using System.Collections.Generic;
using System.Linq;
using SqlSugar;
namespace WebFirst.Entities
{
    /// <summary>
    /// 
    ///</summary>
    [SugarTable("borrow")]
    public class Borrow
    {
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "borrowId", IsPrimaryKey = true)]
        public int BorrowId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "userId")]
        public int UserId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "bookId")]
        public int BookId { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "date")]
        public DateTime Date { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "rdate")]
        public DateTime Rdate { get; set; }
        /// <summary>
        ///  
        ///</summary>
        [SugarColumn(ColumnName = "fine")]
        public decimal? Fine { get; set; }
    }
}
